package com.dreamthen.entity;

/**
 * @Author zengms
 * @Date 2023-10-13 09:47:57
 **/
public class User {

    private Integer id;

    private String userName;

    private String realName;

    public User() {
        System.out.println("user已加载");
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", realName='" + realName + '\'' +
                '}';
    }
}
